package com.fire.control.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "t_area")
public class Area extends BaseEntity{

	private static final long serialVersionUID = 7760631829531268900L;
	
	@Column(name = "name")
	private String name;
	
	@Column(name = "parent_id")
	private String parentId;	
	
	@Column(name = "short_name")
	private String shortName;
	
	@Column(name = "level_type", length=10)
	private Integer levelType;
	
	@Column(name = "city_code")
	private String cityCode;
	
	@Column(name = "zip_code")
	private String zipCode;
	
	@Column(name = "merger_name")
	private String mergerName;
	
	@Column(name = "lng")
	private String lng;
	
	@Column(name = "lat")
	private String lat;
	
	@Column(name = "pinyin")
	private String pinyin;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	
	public Integer getLevelType() {
		return levelType;
	}
	public void setLevelType(Integer levelType) {
		this.levelType = levelType;
	}
	public String getCityCode() {
		return cityCode;
	}
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getMergerName() {
		return mergerName;
	}
	public void setMergerName(String mergerName) {
		this.mergerName = mergerName;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getPinyin() {
		return pinyin;
	}
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	


}
